package com.zatech.cgnci.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zatech.cgnci.project.dto.CgnciReinsurerRatingDTO;
import com.zatech.cgnci.project.entity.CgnciReinsurerRatingDO;
import com.zatech.cgnci.project.mapper.CgnciReinsurerRatingMapper;
import com.zatech.cgnci.project.service.CgnciReinsurerRatingService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zatech.cgnci.project.vo.CgnciReinsurerRatingVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 再保人评级表 服务实现类
 * </p>
 *
 * @author Generator
 * @since 2025-02-26
 */
@Service
public class CgnciReinsurerRatingServiceImpl extends ServiceImpl<CgnciReinsurerRatingMapper, CgnciReinsurerRatingDO> implements CgnciReinsurerRatingService {

    @Override
    public IPage<CgnciReinsurerRatingVO> pageRating(CgnciReinsurerRatingDTO ratingDTO) {
        return this.baseMapper.pageRating(ratingDTO.toPage(),ratingDTO);
    }
}
